<!doctype html>
<html>
<head>

<meta charset="utf-8">
<title>首页</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
<link href="css/index.css" rel="stylesheet" type="text/css">
</head>

<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/index.js" type="text/javascript"></script>

<body>
<div class="bj">

  <div class="top">
     <div class="logo"> <img src="images/logo.png" width="225" height="97"></div>
    <div class="shousuo"> <p class="wenzi">热搜 轮胎 车轮 轮轴</p><li>  <input name="" type="text"> <a href="#">搜索</a></li>  </div>
    <div class="lianxi">
    
        <ul>
            <li class="font_12px">欢迎访问元通轮胎有限公司网站</li>
            <li class="tupian"><img src="images/top_ren.png" width="89" height="78"></li>
             <li  class="font_20px">020&nbsp;38812035
        &nbsp;186xxxxxxxx</li>  
        </ul>
    </div>
    
    
   
  </div>
<div class="nav">
<ul>
<li class="dianji"><a href="index.php">首&nbsp;页&nbsp;&nbsp;&nbsp;</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li><a href="aboutyuantong.php">走进元通</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li><a href="productdisplay.php">产品展示</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li><a href="news.php">新闻资讯</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li><a href="marketing.php">客户服务</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li><a href="talent.php">人力资源</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li><a href="method.php">联系我们</a></li>
</ul>

</div>
 </div>

<div class="container">

<!--内容-->
  <div class="content">
  
  
<!-- banner-->
<div class="connet_top">
    <div class="topvebanner">
    <?php
    require_once 'power.php';
    $sql="SELECT * FROM  `smask` LIMIT 0 , 30";
    $result = $conn->query($sql);
    ?>
    
      <div id="myjQuery">
        <div id="myjQueryContent">
     <?php if ($result->num_rows > 0) : ?>
     <?php
     $rows = $result->fetch_all(MYSQLI_ASSOC);
     foreach($rows as $row):?>  
                <div><img src="<?php echo $row['img'];?>" title="元通轮胎有限公司"></div>
            <?php endforeach;?>
        <?php else : ?>
           <p>结果</p>
        <?php endif ; ?>
                <!--<div class="smask"><img src="images/banner1.gif" title="元通轮胎有限公司"></div>
                <div class="smask"><img src="images/banner.gif" title="元通轮胎有限公司"></div>
                <div class="smask"><img src="images/banner1.gif" title="元通轮胎有限公司"></div>
                <div class="smask"><img src="images/banner.gif" title="元通轮胎有限公司"></div>-->
          </div>
          
          <ul id="myjQueryNav">
          <li class="current"></li>
          <li></li>
          <li></li>
          <li></li>
          <li></li>
          </ul>
        </div>
      </div>
</div>


<!-- banner-->
<div class="neiyong">
   <?php
    require_once 'power.php';
    $sql="SELECT * FROM  `xinwen` LIMIT 0 , 10";
    $result = $conn->query($sql);
    ?>
    <?php if ($result->num_rows > 0) : ?>
     <?php
     $rows = $result->fetch_all(MYSQLI_ASSOC);
     foreach($rows as $row):?>
       <div class="nwes">
          <li class="biaoti"><?php echo $row['title'];?>    <em><a href="<?php echo $row['link'];?>"><?php echo $row['MORE'];?></a></em></li>
        <div  class="paiban">
            <div class="img"><img src="<?php echo $row['img'];?>"> </div> 
            <div class="wenxi"><li> <?php echo $row['xtitle'];?> </li> <P><?php echo $row['wenzi'];?></P> </div>
     <?php endforeach;?>
     <?php else : ?>
        <p>结果</p>
     <?php endif ; ?>
    <div class="xiaobiaoti">
    <?php
    require_once 'power.php';
    $sql="SELECT * FROM  `zuixin` LIMIT 0 , 30";
    $result = $conn->query($sql);
    ?>
    <?php if ($result->num_rows > 0) : ?>
     <?php
     $rows = $result->fetch_all(MYSQLI_ASSOC);
     foreach($rows as $row):?>
                <ul>
                    <li><a href="<?php echo $row['link'];?>"><?php echo $row['xinwen'];?>    <em><?php echo $row['time'];?></em></a></li>
                    
                  </ul>
      <?php endforeach;?>
        <?php else : ?>
           <p>结果</p>
        <?php endif ; ?>
             </div>  
      
        </div>
    
  </div>
  
  <div class="yuantong">
  <?php
    require_once 'power.php';
    $sql="SELECT * FROM  `shipin` LIMIT 0 , 30";
    $result = $conn->query($sql);
    ?>
    <?php if ($result->num_rows > 0) : ?>
      <?php
      $rows = $result->fetch_all(MYSQLI_ASSOC);
      foreach($rows as $row):?>
     <li class="biaoti"> <?php echo $row['title'];?>    <em><a href="<?php echo $row['link'];?> "><?php echo $row['MORE'];?> </a></em></li>
    <p>  <?php echo $row['wenzi'];?></p>

     <div style="margin-top:-15px;
      margin-left:20px;;
 width:325px; height:00px;
 margin-top:10px; "> 
        <video  width="325" height="200" loop controls style="height:180px; margin-top:20px;">
            <source src="<?php echo $row['shipin'];?>" type="video/ogg">
            <source src="<?php echo $row['shipin'];?>" type="video/mp4">
             <h3 >很抱歉你的浏览器太低级
            不支持 MV</h3> 
            <?php endforeach;?>
    <?php else : ?>
                    <p>结果</p>
    <?php endif ; ?>
              </video>  </div>
                  

  </div>
  <div class="pinpai"> 
  <?php
    require_once 'power.php';
    $sql="SELECT * FROM  `pinpai` LIMIT 0 , 30";
    $result = $conn->query($sql);
    ?>
    <?php if ($result->num_rows > 0) : ?>
      <?php
      $rows = $result->fetch_all(MYSQLI_ASSOC);
 	  foreach($rows as $row):?>
     <li class="biaoti"><?php echo $row['title'];?>    <em><a href="<?php echo $row['link'];?>"><?php echo $row['MORE'];?></a></em></li>
     <?php endforeach;?>
    <?php else : ?>
                    <p>结果</p>
    <?php endif ; ?>
     <div class="guanggao">
    <?php
    require_once 'power.php';
    $sql="SELECT * FROM  `tupian` LIMIT 0 , 6";
    $result = $conn->query($sql);
    ?>
    <?php if ($result->num_rows > 0) : ?>
    <?php
      $rows = $result->fetch_all(MYSQLI_ASSOC);
 	  foreach($rows as $row):?>
       <li class="<?php echo $row['class'];?>"><a href="<?php echo $row['link'];?>"><img src="<?php echo $row['img'];?>"></a></li>
       
       <?php endforeach;?>
     <?php else : ?>
       <p>结果</p>
     <?php endif ; ?>
     
       <div class="kefu">
       <?php
    require_once 'power.php';
    $sql="SELECT * FROM  `kefu` LIMIT 0 , 30";
    $result = $conn->query($sql);
    ?>
    <?php if ($result->num_rows > 0) : ?>
    <?php
      $rows = $result->fetch_all(MYSQLI_ASSOC);
 	  foreach($rows as $row):?>
            <li  class="kefu_font_18"><?php echo $row['title'];?></li>
            <ul>
              <li><?php echo $row['dianhua'];?></li>
                <li><?php echo $row['chuanzhen'];?></li>
                    <li><?php echo $row['shouji'];?></li>
            </ul>
            <div class="tup">
              <img src="<?php echo $row['img'];?>" > </div>
           </div>
     <?php endforeach;?>
     <?php else : ?>
       <p>结果</p>
     <?php endif ; ?>
     </div>
  </div>
</div>
<!-- 走马灯-->
<div class="chanpin">
<li class="aa">产品介绍/Product</li>

  <div class="apply">
 <div class="img_l"><img src="images/left.png" /></div>
    <div class="apply_nav">
      <div class="apply_w">
 <?php
    require_once 'power.php';
    $sql="SELECT * FROM  `luntai` LIMIT 0 , 30";
    $result = $conn->query($sql);
    ?>
    <?php if ($result->num_rows > 0) : ?>
      <?php
      $rows = $result->fetch_all(MYSQLI_ASSOC);
      foreach($rows as $row):?>

        
        <div class="apply_array">
          <div class="apply_img"><img src="<?php echo $row['img'];?>" />
            <div class="win">
              <ul>
                <li><a href="productdisplay.html"><?php echo $row['mingcheng'];?>  </a></li>
                <li class="wenzi"><?php echo $row['jiage'];?></li>
                </ul>
              </div>
            </div>
          </div>
          <?php endforeach;?>
    <?php else : ?>
                    <p>结果</p>
    <?php endif ; ?> 
 
        </div>
      </div>
    
    <div class="img_r"><img src="images/left2.png"/></div>
    
  </div>
</div>
<!-- 走马灯-->


</div>
<!--内容-->



</div>
<div class="footer ">
 <ul>
 <li>Copyright © 2012-2015 Seyoun.cn Inc. All Rights Reserved. 三元轮胎 版权所有 苏ICP备10218496号 

</li>
 <li>网站地图 | 联系方式 | 顶部</li>
 </ul>

</div>
</body>
</html>
